package com.jrx.anytxn.reporting.job.unionFile.step;

import com.jrx.anytxn.transaction.entity.AmLoanAccountInfo;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.batch.MyBatisPagingItemReader;


public class LoanInfoFileReader extends MyBatisPagingItemReader<AmLoanAccountInfo> {

    public LoanInfoFileReader(SqlSessionFactory sqlSessionFactory, Integer pageSize){
        setSaveState(false);
        setPageSize(pageSize);
        setSqlSessionFactory(sqlSessionFactory);
        setQueryId("com.jrx.anytxn.transaction.mapper.ext.ExtAmLoanAccountInfoMapper.selectByUpdateTimeAll");
    }
}
